added an event watcher for enter/leave based on signal emission hooks.
authorTim Janik <timj@gtk.org>
Mon, 30 Nov 1998 07:09:36 +0000 (07:09 +0000)
committerTim Janik <timj@src.gnome.org>
Mon, 30 Nov 1998 07:09:36 +0000 (07:09 +0000)
commit2c0fc39e626e93225e8d15ae8c1a51c1e6be79f0
tree2d89e5a8abdaa694ecd320e617808f7732077d53
parent140c26afbc334a8c24f2f721597d6aa7d39d8827
added an event watcher for enter/leave based on signal emission hooks.

Mon Nov 30 06:20:36 1998  Tim Janik  <timj@gtk.org>

        * gtk/testgtk.c: added an event watcher for enter/leave based on
        signal emission hooks.

        * gtk/gtkobject.c (gtk_object_class_init): made GtkObject::destroy a
        GTK_RUN_NO_HOOKS signal.

        * gtk/gtksignal.h:
        * gtk/gtksignal.c: implemented emission hooks, new hooks can be added
        to a signal with gtk_signal_add_emission_hook or
        gtk_signal_add_emission_hook_full, and can be removed again with
        gtk_signal_remove_emission_hook.

        * gtk/gtkenums.h: remove GTK_RUN_MASK, since it doesn't represent
        an appropriate mask for signal runtypes for a long time now.
        added GTK_RUN_NO_HOOKS value, which is used to flag signals
        that do not allow the running of signal hooks.
13 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkenums.h
gtk/gtkobject.c
gtk/gtksignal.c
gtk/gtksignal.h
gtk/testgtk.c
tests/testgtk.c